import { createApp } from "vue";
import App from "./App.vue";

// 公共样式引入
import "./styles/index.scss";
// svg图标组件
import SvgIcon from "./components/SvgIcon/index.vue"; // svg component

import router from "./router";
import store from "./store";

// 引入生成的 SVG 图标样式
import "virtual:svg-icons-register";

import ElementPlus from "element-plus";
import "element-plus/dist/index.css";

createApp(App)
  .component("svg-icon", SvgIcon)
  .use(store)
  .use(router)
  .use(ElementPlus)
  .mount("#app");
